.banner {
  width: 100%;
  margin-bottom: 40px;

  .banner-item {
    height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;

    .banner-search {
      width: 760px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border: 1px solid #2D5ACB;
      opacity: 0.9;
      border-radius: 4px;

      .ant-input {
        height: 50px;
      }

      .ant-input-search-button {
        height: 50px;
        background-color: transparent;
        border: none;

        .anticon-search {
          color: #2D5ACB;

          svg {
            width: 22px;
            height: 22px;
          }
        }
      }
    }
  }
}

.tableCard {
  width: 100%;
  text-align: center;

  .gutter-row {
    cursor: pointer;

    .block {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid #ccc;
      border-radius: 5px;
      position: relative;

      .imgClass {
        width: 100%;
      }

      .imgNone {
        width: 40%;
        height: 50%;
      }

      .firstText {
        position: absolute;
        bottom: 0;
        height: 38px;
        background-color: rgba(45, 90, 203, .78);
        width: 100%;
        font-size: 16px;
        line-height: 38px;
        color: #fff;
      }
    }

    .text {
      margin: 10px 0 15px 0;
      white-space: nowrap; //不换行
      overflow: hidden; //超出隐藏
      text-overflow: ellipsis; //变成...

      &:hover {
        color: #0099ff;
      }
    }
  }
}

.layoutSide {
  height: 100%;
  // background-color: #f4f7fd;
  min-width: 240px;
  text-align: left;
  box-sizing: border-box;

  .side-menu-body-wrap {
    box-sizing: border-box;
    overflow: hidden;
    
    .ant-menu-inline .ant-menu-item:not(:last-child){
      margin-bottom: 0px !important;
    }
    .iconItem {
      display: flex;
      align-items: center;
      img {
        margin: 0 6px;
      }
    }

    .ant-menu {
      font-size: 14px;
      color: #2E3438;
      background: transparent;
    }

    .ant-menu-inline {
      border-right: 0px;
      background-color: rgba(45, 102, 216, .1);
    }

    .ant-menu-item-selected {
      color: #fff;
    }

    .ant-menu-submenu-selected {
      color: #2E3438;
    }

    .ant-menu-submenu-active {
      color: #2E3438;
    }

    .ant-menu-submenu-inline>.ant-menu-submenu-title:hover {

      .ant-menu-submenu-arrow::after,
      .ant-menu-submenu-arrow::before {
        background: linear-gradient(to right, #2E3438, #2E3438);
      }
    }

    .ant-menu-submenu-title:hover {
      color: unset;
      background: unset;
    }

    .ant-menu-item::after {
      border-right: 0px;
    }

    .ant-menu:not(.ant-menu-horizontal) {
      .ant-menu-item-selected {
        background: #2D5ACB;

        &:hover {
          color: #fff !important;
        }
      }
    }

    .ant-menu-item {
      height: 54px;
      line-height: 54px;
      font-size: 17px;
      font-weight: 400;
    }

    .ant-menu-submenu-title {
      font-weight: bold;
      font-size: 17px;
    }

    .ant-menu-item-active {
      color: #2D5ACB !important; //悬停时文字颜色
    }

    .titleActived {
      color: #2D5ACB;
      font-weight: bold;
      font-size: 17px;
    }
  }
}

.policy-list-wrap {
  overflow: hidden;
  overflow-y: scroll;

  .policy-list-item {
    display: flex;
    padding: 21px 0 20px 0;
    border-bottom: 1px solid #B4ADA0;

    .policy-item-left {
      margin-right: 16px;

      img {
        box-shadow: 0 0 1px;
        width: 283px;
        height: 164px;
        object-fit: contain;
      }
    }

    .policy-item-right {
      flex: 1;
      padding: 10px 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #666666;

      .policy-title {
        font-size: 17px;
        color: #333333;
        font-weight: bold;
        line-height: 30px;
        cursor: pointer;
      }

      .policy-content {
        overflow: hidden;
        margin: 15px 0;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        line-height: 25px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
      }
    }
  }
}

.registerApplyBlock {
  display: inline-block;
  border-radius: 4px;
  border: 1px solid #E5E5E5;
  padding: 22px;
  margin-bottom: 22px;

  .block-title {
    margin-bottom: 18px;
    display: flex;
    align-items: center;

    span {
      font-size: 19px;
      font-weight: bold;
      color: #000000;
      font-family: Microsoft YaHei;
      margin-left: 8px;
    }
  }

  .block-img {
    display: flex;
    cursor: pointer;

    div {
      position: relative;

      span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px;
        color: #fff;
        width: 100%;
        text-align: center;
      }
    }

    div:not(:last-child) {
      margin-right: 19px;
    }
  }
}

.brief {
  padding: 34px 62px;
  min-height: 300px;
  border: 1px solid #E6E6E6;

  .title {
    font-size: 20px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #333333;
    line-height: 30px;
    text-align: center;
    margin: 23px 0;
  }

  .summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    font-size: 14px;
    color: #999999;
  }

  .downClass {
    display: flex;
    flex-direction: column;
    margin-top: 100px;

    .downDiv {
      display: flex;
      flex-direction: column;

      div {
        display: flex;
        align-items: center;

        i {
          cursor: pointer;

          &:hover {
            color: #1540a1;
          }
        }
      }
    }

    .name {
      display: inline-block;
      max-width: 500px;
      white-space: nowrap; //不换行
      overflow: hidden; //超出隐藏
      text-overflow: ellipsis; //变成...
    }

    .icon {
      cursor: pointer;
      margin-left: 20px;

      &:hover {
        color: 1540a1;
      }
    }
  }
}

// tabs原样式
.tabs-wrap {
  width: 100%;
  display: flex;
  align-items: center;

  div {
    cursor: pointer;
    padding: 0 33px;
    height: 33px;
    text-align: center;
    line-height: 31px;
    background: #E9E9E9;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin-right: 4px;
    border-radius: 0px 8px 0px 0px;
    border: 1px solid #E9E9E9;

    &:hover {
      color: #2D5ACB;
    }
  }

  .active {
    color: #fff;
    background-color: #2D5ACB;

    &:hover {
      color: #fff;
    }
  }
}

.protectBlock {
  width: 383px;
  height: 103px;
  background: #FFFFFF;
  border: 1px solid #2D5ACB;
  display: flex;

  .protectBlock-left {
    width: 174px;
    height: 100%;
    background: linear-gradient(90deg, #82A6FF, #66A6FF);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    span {
      color: #FFFFFF;
      font-size: 17px;
    }
  }

  .protectBlock-right {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .protectBlock-right-content {
      display: flex;
      align-items: center;

      .protect-circle {
        background: #2D5ACB;
        border: 0.1875em solid #2D5ACB;
        border-radius: 50%;
        height: 6px;
        width: 6px;
        margin-right: 10px;
      }

      .protect-text {
        font-size: 12px;
        cursor: pointer;

        &:hover {
          color: #2D5ACB;
        }
      }
    }

  }
}

.fakeData {
  padding-bottom: 20px;
  .fakeData-title {
    text-align: center;
    font-size: 19px;
    line-height: 19px;
    color: #000000;
    font-weight: bold;
    font-family: Microsoft YaHei;
    margin-bottom: 32px;
  }

  .fakeData-content {
    text-indent: 2em;
    font-weight: 400;
    font-family: Microsoft YaHei;
    line-height: 29px;
    font-family: Microsoft YaHei;

    .firstTitle {
      color: #000000;
      line-height: 19px;
      font-size: 17px;
      font-weight: bold;
    }
  }
}


//重写首页菜单
.window-menu {
  margin: 0 !important;
  padding: 0 !important;
  width: 691px !important;
  height: 450px !important;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0px 3px 8px 0px rgba(21, 56, 127, 0.36);
  cursor: default !important;

  .window-menu-item {
    cursor: default;
    display: flex;
    flex-direction: column;

    .secondary-menu {
      display: flex;
      flex-wrap: wrap;
      font-size: 17px;
      padding: 32px 62px 0px 62px;

      span {
        cursor: pointer;
        width: 33%;

        &:nth-child(1) {
          text-align: left;
        }

        &:nth-child(4) {
          text-align: left;
        }
      }
    }

    .third-sub-menu {
      width: 50px;
      font-size: 17px;
      color: #2D5ACB;
      padding: 0px 9px 9px 62px;
      cursor: pointer;
    }

    .third-menu {
      margin-bottom: 54px;
      background-color: #FAFBFE;

      .four-menu {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid #E5E5E5;
        border-bottom: 1px solid #E5E5E5;
        margin: 0 62px;
        font-size: 14px;

        .four-menu-warp {
          width: 50%;
          margin-bottom: 10px;

          .five-sub-menu {
            display: block;
            width: 100%;
            text-align: left;
            color: rgba(45, 90, 203, 1);
            font-weight: bold;
            height: 35px;
          }

          .five-menu {
            display: flex;
            flex-direction: column;
            text-align: left;

            span {
              height: 30px;
              cursor: pointer;
            }
          }
        }
      }
    }
  }
}

.protect-window-menu {
  @extend .window-menu;
  width: 755px !important;
  height: 400px !important;

  .protect-window-menu-item {
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 32px 62px;
    justify-content: space-between;

    .protect-secondary-sub-menu {
      display: flex;
      flex-direction: column;
      text-align: left;
      width: 180px;
      margin-bottom: 10px;

      &:nth-child(2) {
        margin-right: 40px;
      }

      &:nth-child(5) {
        margin-right: 40px;
      }

      &:nth-child(8) {
        margin-right: 40px;
      }

      .secondary-sub-menu {
        cursor: pointer;
        font-size: 17px;
      }

      .secondary-sub-menu-open {
        font-size: 17px;
        color: #2D5ACB;
      }

      .third-menu-item {
        height: 30px;
        width: 100px;
        cursor: pointer;
      }
    }
  }
}

.register-window-menu {
  @extend .window-menu;

  .register-window-menu-item {
    cursor: default;
    display: flex;
    flex-direction: column;

    .register-secondary-menu {
      display: flex;
      flex-wrap: wrap;
      font-size: 17px;
      padding: 0px 62px 0px 62px;

      span {
        cursor: pointer;
        width: 33%;

        &:nth-child(1) {
          text-align: left;
        }

        &:nth-child(4) {
          text-align: left;
        }
      }
    }

    .register-third-sub-menu {
      width: 50px;
      font-size: 17px;
      color: #2D5ACB;
      padding: 32px 9px 0px 62px;
      cursor: pointer;
    }

    .register-third-menu {
      background-color: #FAFBFE;

      .register-four-menu {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid #E5E5E5;
        border-bottom: 1px solid #E5E5E5;
        margin: 0 62px;
        font-size: 14px;

        .register-four-menu-warp {
          width: 33%;
          margin-bottom: 10px;

          .register-five-sub-menu {
            display: block;
            width: 100%;
            text-align: left;
            color: rgba(45, 90, 203, 1);
            font-weight: bold;
            height: 35px;
          }

          .register-five-menu {
            display: flex;
            flex-direction: column;
            text-align: left;

            span {
              height: 30px;
              color: #999999;
            }

            .register-five-menu-title {
              color: #333333;
              cursor: pointer;

              &:hover {
                color: #2D5ACB;
              }
            }

            .register-six-sub-menu {
              display: flex;
              align-items: center;

              .register-six-menu-border {
                width: 7px;
                height: 27px;
                border-top: 1px solid #CCCCCC;
                border-bottom: 1px solid #CCCCCC;
                border-left: 1px solid #CCCCCC;
                margin-right: 7px;
              }

              .register-six-menu-item {
                display: flex;
                flex-direction: column;

                span {
                  height: 30px;
                  line-height: 30px;
                  cursor: pointer;
                  color: #333;

                  &:hover {
                    color: #2D5ACB;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

//首页表格
.homeTable {
  display: flex;

  .clickStyle {
    //统一对所有点击做样式
    cursor: pointer;
  }

  .homeTable-cell {
    background-size: 100% 100%;
    flex: 1;
    height: 260px;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 20px;

    &:nth-child(1) {
      margin-right: 20px;
    }

    .homeTable-cell-content {
      margin-left: 23px;
      height: 100%;
      width: 100%;

      .cell-content-title {
        font-size: 30px;
        color: #FFFFFF;
        font-weight: bold;
      }

      .cell-content-body {
        margin-top: 15px;

        .cell-content-intro {
          color: #FFFFFF;
        }

        .cell-content-list {
          display: flex;

          .cell-content-block {
            &:nth-child(3) {
              width: 37% !important; //解决公共服务第三个block文字一行显示不全
            }

            .content-item-firstType {
              margin-bottom: 20px;

              img {
                margin-right: 8px;
              }

              span {
                font-size: 16px;
                color: #FFFFFF;
              }
            }

            .content-item-secondType {
              display: flex;
              flex-direction: column;

              .content-item-header {
                margin-bottom: 10px;

                img {
                  margin-right: 8px;
                }

                span {
                  font-size: 16px;
                  color: #FFFFFF;
                }
              }

              .content-item-body {
                display: flex;
                align-items: center;
                margin-bottom: 5px;

                .circleBox {
                  width: 22px;
                  height: 22px;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  margin-right: 8px;

                  .circle {
                    background: #FFFFFF;
                    border: 0.1875em solid #FFFFFF;
                    border-radius: 50%;
                    height: 3px;
                    width: 3px;
                  }
                }

                span {
                  color: #FFFFFF;
                }
              }
            }
          }
        }
      }
    }
  }
}

//首页地图
.homeMap-warp {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;

  .homeMap-warp-title {
    font-size: 25px;
    font-weight: bold;
    font-family: Microsoft YaHei;
    margin: 30px 0;
  }

  .homeMap-warp-content {
    position: relative;
    width: 100%;
    height: 100%;

    .homeMap-warp-left {
      position: absolute;
      width: 250px;
      top: 40px;
      left: 0;

      .homeMap-warp-left-header {
        display: flex;

        img {
          margin-right: 6px;
        }

        span {
          font-weight: bold;
          font-size: 15px;
        }
      }

      .homeMap-warp-left-item {
        display: flex;
        align-items: center;

        .homeMap-circleBox {
          width: 23px;
          height: 23px;
          margin-right: 6px;
          display: flex;
          align-items: center;
          justify-content: center;

          .homeMap-circle {
            background: #C3D7FF;
            border: 0.1875em solid #C3D7FF;
            border-radius: 50%;
            height: 3px;
            width: 3px;
          }
        }

        .homeMap-item-label {
          font-size: 13px;
        }

        .homeMap-item-value {
          font-size: 20px;
          font-weight: bold;
        }
      }
    }

    .homeMap-warp-center {
      position: absolute;
      left: 200px;
      top: -30px;
      width: 700px;
      height: 550px;
    }

    .homeMap-warp-right {
      max-height: 400px;
      overflow-y: auto;
      position: absolute;
      width: 345px;
      top: 40px;
      right: 0;
      background-color: rgba(44, 109, 222, .8);
      padding: 20px;

      .homeMap-warp-right-header {
        font-weight: bold;
      }
    }
  }
}

//前台表格样式
.marketDemand {
  width: 100%;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #E6E6E6;

  .table {
    padding: 30px 42px;
    color: #657280;

    .matchdisplay-title {
      height: 48px;
      border-radius: 4px;
      background-color: #2c91ea;

      .title {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        color: #ffffff;
      }
    }

    .matchdisplay-name {
      padding-top: 31px;

      .title-card {
        .name {
          background: #fff;

          &:hover {
            color: #262b30;
            cursor: auto;
          }
        }
      }
    }

    .ant-row {
      height: 57px;
      line-height: 57px;
    }

    .last {
      border-bottom: 1px solid #dadde0;
    }

    span {
      display: inline-block;
      height: 23px;
      line-height: 23px;
      padding: 0 5px;
      border-radius: 4px;
    }

    .name {
      color: #262b30;
      font-size: 16px;
      white-space: nowrap; //不换行
      overflow: hidden; //超出隐藏
      text-overflow: ellipsis;

      &:hover {
        color: #2d5acb;
        cursor: pointer;
      }
    }

  }
}